import { get, post, request } from '@/utils/request'
import axios from 'axios'
const BASE_URL = window.baseUrl
// 获取分享仪表板列表
// /api/v1/shares/list
export function sharesList(query) {

}

// 获取当前登录org信息
export function getOrgId(query) {
  return new Promise((resolve, reject) => {
    axios({
      url: BASE_URL + '/api/v1/users/getandregist',
      method: 'get',
      params: {
        username: 'admin'
      }
    }).then(res => {
      resolve(res)
    }).catch(error => {
      reject(error)
    })
  })
}